﻿using System;
using System.Windows;

namespace SimpleSpreadsheet.Controls
{
    /// <summary>
    /// Progress indication control
    /// </summary>
    public partial class ProgressDialog : Window
    {
        public ProgressDialog()
        {
            InitializeComponent();
        }

        public event EventHandler Cancel = delegate { };

        private void btnCancel_Click(object sender, RoutedEventArgs e)
        {
            Cancel(sender, e);
        }
    }
}